﻿using System;
using System.IO;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Navigation;

namespace xyPlot
{
	public partial class Window1
	{
		public Window1()
		{
			this.InitializeComponent();
			
			// Insert code required on object creation below this point.

            DataValueSimulator simulator1 = new DataValueSimulator();
            simulator1.Run();
            graphTicker1.DataValues = simulator1.DataValues;
            graphTicker1.GraphTitle = "Simulated 1 Values";

            DataValueSimulator simulator2 = new DataValueSimulator();
            simulator2.Run();
            graphTicker2.DataValues = simulator2.DataValues;
            graphTicker2.GraphTitle = "Simulated 2 Values";

            DataValueSimulator simulator3 = new DataValueSimulator();
            simulator3.Run();
            graphTicker3.DataValues = simulator3.DataValues;
            graphTicker3.GraphTitle = "Simulated 3 Values";

            DataValueSimulator simulator4 = new DataValueSimulator();
            simulator4.Run();
            graphTicker4.DataValues = simulator4.DataValues;
            graphTicker4.GraphTitle = "Simulated 4 Values";

            btnClose.Click += (s, e) =>
                {
                    this.Close();
                };
		}
	}
}